package com.xlh.virtualization.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ImageAllocationSlave {

    private Long id;

    /**
     * 场景类型
     */
    private Integer contextType;

    /**
     * 场景Id
     */
    private Long contextId;

    /**
     * 从节点镜像Id
     */
    private Long imageId;

    /**
     * 集群从节点序号
     */
    private Integer roleNumber;

    private Boolean deleted;

    private Date createTime;

    private Date updateTime;

}